{/include file="simpla/common/header.html"/}
{/include file="simpla/plugins/left.html"/}
<div id="main-content">
  <h2>欢迎您 {/$_adminname/}</h2>
  <p id="page-intro">ecshop数据转换插件。转换前请先配置数据库连接。修改config/db.ini.php文件。增加如下内容：
  <pre>
[ecshop]
main   =   host:localhost,user:root,database:ecshop,password:root,charset:utf8
query  =   host:localhost,user:root,database:ecshop,password:root,charset:utf8
</pre>
</p>
  <div class="clear"></div>
  <div class="content-box">
    <div class="content-box-header">
      <h3>ecshop数据转换插件</h3>
      <div class="clear"></div>
    </div>
    <div class="content-box-content">
      <div class="tab-content default-tab" id="tab1">
        <div class="form">
          <form action="{/get_url rule='/plugins/ecshop'/}" method="post" id="js-form">
            <fieldset class="clearfix">
              <p>Ecshop表前缀:<input type="text" value="ecs_" name="pre" class="text-input min-input" />安装ecshop的时候填写的表前缀。默认是ecs_</p>
              <p>需要转换的数据:<span>
                <select name="type">
                	<option value="1">分类数据</option>
                    <option value="2">商品数据</option>
                </select>
                </span><br /><font class="red">注意：转换分类将清空之前的所有分类,转换商品将清空商品，仓库，销售，日志的所有数据</font></p>
              <p>每次转换：<input type="text" value="50" name="num" class="text-input min-input" />条(虚拟主机建议每次少一点)</p>
              <p><input type="submit" name="" class="button" value="开始转换" /></p>
            </fieldset>
          </form>
        </div>
      </div>
    </div>
  </div>
  {/include file="simpla/common/copy.html"/} </div>
{/include file="simpla/common/footer.html"/}